#ifndef SERVICE_H
#define SERVICE_H

#include <Windows.h>
#include "packetstruct.h"
class Service
{
public:
	Service(){}
	virtual ~Service(){}
	void SetHash(DWORD dwHash){m_dwHash = dwHash;}
	void SetIndex(DWORD dwIndex){m_dwIndex = dwIndex;}
	void SetDest(const char* pstrDest)
	{
         strncpy(m_strDesc,pstrDest,sizeof(m_strDesc));
	}
	DWORD GetHash(){return m_dwHash;}
	DWORD GetIndex(){return m_dwIndex;}
private:
	char  m_strDesc[16];
	DWORD m_dwIndex;
	DWORD m_dwHash;

};

#endif